//
//  RMZQCollectionViewCell.m
//  Cartoon
//
//  Created by dllo on 15/10/29.
//  Copyright © 2015年 YSZ. All rights reserved.
//

#import "RMZQCollectionViewCell.h"

@implementation RMZQCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
        self.lastupLabel = [[UILabel alloc] init];
        self.smallTitleLabel = [[UILabel alloc] init];
        self.RMZQimage = [[UIImageView alloc] init];
       
        [self.contentView addSubview:_lastupLabel];
        [self.contentView addSubview:_smallTitleLabel];
        [self.contentView addSubview:_RMZQimage];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{

    [super applyLayoutAttributes:layoutAttributes];
    _smallTitleLabel.frame = CGRectMake(0, 110* HEIGHT, 100 * WIDTH, 20 * HEIGHT);
    _smallTitleLabel.font = [UIFont systemFontOfSize:14 * WIDTH];
    _RMZQimage.frame = CGRectMake(0,  - 40 * HEIGHT, 110 * WIDTH , 140 * HEIGHT);
    _lastupLabel.frame = CGRectMake(0, 130 * HEIGHT, 100 * WIDTH, 20 * HEIGHT);
    _lastupLabel.textColor = [UIColor lightGrayColor];
    _lastupLabel.font = [UIFont systemFontOfSize:12 * WIDTH];
    

}


@end
